<template>
   <div id="#app">
     <!-- <h1>我的项目{{name}}</h1> -->
     <router-view/>
   </div>
</template>
<style>
div{
 text-align: center;
}
h1{
  color: red;
}
</style>
<script>
import {mapState} from "vuex"  
export default {
  computed:{
   ...mapState(["name"])
   }
}
</script>

